[INFO] cloning repository https://github.com/robbiehammond/flip-sim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robbiehammond/flip-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbiehammond%2Fflip-sim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbiehammond%2Fflip-sim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f4c2e67e67e7e435fb9ee05831be5777e7339ac8
[INFO] testing robbiehammond/flip-sim against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobbiehammond%2Fflip-sim" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/robbiehammond/flip-sim
[INFO] finished tweaking git repo https://github.com/robbiehammond/flip-sim
[INFO] tweaked toml for git repo https://github.com/robbiehammond/flip-sim written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/robbiehammond/flip-sim on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/robbiehammond/flip-sim already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded c_vec v2.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1367baa356c1182115091b0a76c200fcc8650fa3bb0bac47aea3d852fce62e22
[INFO] running `Command { std: "docker" "start" "-a" "1367baa356c1182115091b0a76c200fcc8650fa3bb0bac47aea3d852fce62e22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1367baa356c1182115091b0a76c200fcc8650fa3bb0bac47aea3d852fce62e22", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1367baa356c1182115091b0a76c200fcc8650fa3bb0bac47aea3d852fce62e22", kill_on_drop: false }`
[INFO] [stdout] 1367baa356c1182115091b0a76c200fcc8650fa3bb0bac47aea3d852fce62e22
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5cef36f4e96ddb561bb5c0ac127498539ed3103068af1083308528ac2173b080
[INFO] running `Command { std: "docker" "start" "-a" "5cef36f4e96ddb561bb5c0ac127498539ed3103068af1083308528ac2173b080", kill_on_drop: false }`
[INFO] [stderr]    Compiling version-compare v0.1.1
[INFO] [stderr]    Compiling sdl2 v0.35.2
[INFO] [stderr]    Compiling c_vec v2.0.0
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling sdl2-sys v0.35.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling flip-sim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0583]: file not found for module `particle`
[INFO] [stdout]  --> src/grid.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod particle;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: to create the module `particle`, create file "src/grid/particle.rs" or "src/grid/particle/mod.rs"
[INFO] [stdout]   = note: if there is a `mod particle` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Util::util::mag`
[INFO] [stdout]  --> src/grid.rs:6:43
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use crate::{grid::particle::Particle, Util::util::mag};
[INFO] [stdout]   |                                           ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/grid.rs:46:27
[INFO] [stdout]    |
[INFO] [stdout] 46 | ...   particles[(i as usize)] = Particle::new(rand::thread_rng().gen_range(0..PLAYGROUND_WIDTH) as f32, rand::thread_rng().gen_range...
[INFO] [stdout]    |                 ^          ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 46 -                 particles[(i as usize)] = Particle::new(rand::thread_rng().gen_range(0..PLAYGROUND_WIDTH) as f32, rand::thread_rng().gen_range(0..PLAYGROUND_HEIGHT) as f32);
[INFO] [stdout] 46 +                 particles[i as usize ] = Particle::new(rand::thread_rng().gen_range(0..PLAYGROUND_WIDTH) as f32, rand::thread_rng().gen_range(0..PLAYGROUND_HEIGHT) as f32);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around index expression
[INFO] [stdout]   --> src/grid.rs:47:27
[INFO] [stdout]    |
[INFO] [stdout] 47 |                 particles[(i as usize)].vel.0 = rand::thread_rng().gen_range(-100..100) as f32;
[INFO] [stdout]    |                           ^          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 47 -                 particles[(i as usize)].vel.0 = rand::thread_rng().gen_range(-100..100) as f32;
[INFO] [stdout] 47 +                 particles[i as usize ].vel.0 = rand::thread_rng().gen_range(-100..100) as f32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around const expression
[INFO] [stdout]   --> src/grid.rs:81:47
[INFO] [stdout]    |
[INFO] [stdout] 81 |         pub fn particles(&self) -> [Particle; (NUM_PARTICLES as usize)] {
[INFO] [stdout]    |                                               ^                      ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 81 -         pub fn particles(&self) -> [Particle; (NUM_PARTICLES as usize)] {
[INFO] [stdout] 81 +         pub fn particles(&self) -> [Particle; NUM_PARTICLES as usize ] {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/grid.rs:256:31
[INFO] [stdout]     |
[INFO] [stdout] 256 |         fn measure_divergence(x: u32, y: u32) -> Option<f32> {
[INFO] [stdout]     |                               ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/grid.rs:256:39
[INFO] [stdout]     |
[INFO] [stdout] 256 |         fn measure_divergence(x: u32, y: u32) -> Option<f32> {
[INFO] [stdout]     |                                       ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `old_grid`
[INFO] [stdout]    --> src/grid.rs:260:53
[INFO] [stdout]     |
[INFO] [stdout] 260 |         pub fn enforce_incompressibility(&mut self, old_grid: [(f32, f32); (NUM_WIDTH_CELLS * NUM_HEIGHT_CELLS) as usize]) {
[INFO] [stdout]     |                                                     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_grid`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0583`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `flip-sim` (bin "flip-sim") due to 1 previous error; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5cef36f4e96ddb561bb5c0ac127498539ed3103068af1083308528ac2173b080", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5cef36f4e96ddb561bb5c0ac127498539ed3103068af1083308528ac2173b080", kill_on_drop: false }`
[INFO] [stdout] 5cef36f4e96ddb561bb5c0ac127498539ed3103068af1083308528ac2173b080
